package cn.com.dycc.party_work.education_result.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.com.dycc.party_work.education_result.entity.EducationResult;
import cn.com.dycc.party_work.education_result.entity.EducationResultInfo;
import cn.com.dycc.party_work.education_result.param.EducationResultParam;

/**
 * 
 * Description: 党员学习反馈结果
 * Author: Liket
 * Version: 1.0
 * Create Date Time: 2018年7月3日 下午7:39:59.
 * Update Date Time: 
 * @see
 */
@Repository("educationResultDao")
public interface EducationResultDao {
	
	int addEduResult(EducationResult eduResult);
	
	EducationResult findEduResult(
			@Param("result_id")String result_id,
			@Param("org_id")String org_id);
	
	List<EducationResultInfo> findEduResultByParam(EducationResultParam param);	
	String findEduResultCount(EducationResultParam param);	
	
	int deleteEduResult(
			@Param("org_id")String org_id,
			@Param("list")List<String> list);

}
